package com.csair.seam.domain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csair.seam.domain.model.entity.IdleReceive;

import java.math.BigDecimal;
import java.util.List;

public interface IdleReceiveMapper extends BaseMapper<IdleReceive>{


    public BigDecimal getYearInsum();

    public BigDecimal getAllInsum();

    public Integer getAllReceivnum();

    public Integer getYearReceivnum();

    public List<IdleReceive> getOutcorpCountAndInsum(String startDate,
                                                     String endDate,
                                                     String intype,
                                                     String category);

    List<IdleReceive> getIncorpCountAndInsum(String startDate,
                                             String endDate,
                                             String intype,
                                             String category);

    public List<IdleReceive> getAllOutcorp();

    public List<IdleReceive> getAllIncorp();

    public String getNameByCode(String code);
}
